// 本地调试配置
module.exports = {
  devServer: {
    // host: '127.0.0.1',
    // port: 8081,
    host: '192.168.31.177',
    port: 8080,
    proxy: {
      '/fw': {
        target: 'http://192.168.31.226:8888',
        pathRewrite: {
          '^/fw': ''
        }
      },
      '/api': {
        target: 'http://127.0.0.1:8082',
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  }
}
